// Initialize the client
var client = new SearchClient(new SearchConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY"));
// Call the API
var response = await client.GetSettingsAsync("<YOUR_INDEX_NAME>");
// >LOG
{
"attributesForFaceting": [
"author",
"filterOnly(isbn)",
"searchable(edition)",
"afterDistinct(category)",
"afterDistinct(searchable(publisher))"
],
"replicas": [
"virtual(prod_products_price_asc)",
"dev_products_replica"
],
"paginationLimitedTo": 100,
"unretrievableAttributes": [
"total_sales"
],
"disableTypoToleranceOnWords": [
"wheel",
"1X2BCD"
],
"attributesToTransliterate": [
"name",
"description"
],
"camelCaseAttributes": [
"description"
],
"decompoundedAttributes": {
"de": [
"name"
]
},
"indexLanguages": [
"ja"
],
"disablePrefixOnAttributes": [
"sku"
],
"allowCompressionOfIntegerArray": false,
"numericAttributesForFiltering": [
"equalOnly(quantity)",
"popularity"
],
"separatorsToIndex": "+#",
"searchableAttributes": [
"title,alternative_title",
"author",
"unordered(text)",
"emails.personal"
],
"userData": {
"settingID": "f2a7b51e3503acc6a39b3784ffb84300",
"pluginVersion": "1.6.0"
},
"customNormalization": {
"default": {
"ä": "ae",
"ü": "ue"
}
},
"attributeForDistinct": "url",
"maxFacetHits": 10,
"attributesToRetrieve": [
"author",
"title",
"content"
],
"ranking": [
"typo",
"geo",
"words",
"filters",
"proximity",
"attribute",
"exact",
"custom"
],
"customRanking": [
"desc(popularity)",
"asc(price)"
],
"relevancyStrictness": 90,
"attributesToHighlight": [
"author",
"title",
"conten",
"content"
],
"attributesToSnippet": [
"content:80",
"description"
],
"highlightPreTag": "<em>",
"highlightPostTag": "</em>",
"snippetEllipsisText": "…",
"restrictHighlightAndSnippetArrays": false,
"hitsPerPage": 20,
"minWordSizefor1Typo": 4,
"minWordSizefor2Typos": 8,
"typoTolerance": true,
"allowTyposOnNumericTokens": true,
"disableTypoToleranceOnAttributes": [
"sku"
],
"ignorePlurals": [
"ca",
"es"
],
"removeStopWords": [
"ca",
"es"
],
"keepDiacriticsOnCharacters": "øé",
"queryLanguages": [
"es"
],
"decompoundQuery": true,
"enableRules": true,
"enablePersonalization": false,
"queryType": "prefixLast",
"removeWordsIfNoResults": "firstWords",
"mode": "keywordSearch",
"semanticSearch": {
"eventSources": [
"<string>"
]
},
"advancedSyntax": false,
"optionalWords": "<string>",
"disableExactOnAttributes": [
"description"
],
"exactOnSingleWordQuery": "attribute",
"alternativesAsExact": [
"ignorePlurals",
"singleWordSynonym"
],
"advancedSyntaxFeatures": [
"exactPhrase",
"excludeWords"
],
"distinct": 1,
"replaceSynonymsInHighlight": false,
"minProximity": 1,
"responseFields": [
"*"
],
"maxValuesPerFacet": 100,
"sortFacetValuesBy": "count",
"attributeCriteriaComputedByMinProximity": false,
"renderingContent": {
"facetOrdering": {
"facets": {
"order": [
"<string>"
]
},
"values": {}
},
"redirect": {
"url": "<string>"
},
"widgets": {
"banners": [
{
"image": {
"urls": [
{
"url": "<string>"
}
],
"title": "<string>"
},
"link": {
"url": "<string>"
}
}
]
}
},
"enableReRanking": true,
"reRankingApplyFilter": [
"<any>"
],
"primary": "<string>"
}
Retrieves an object with non-null index settings.
// Initialize the client
var client = new SearchClient(new SearchConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY"));
// Call the API
var response = await client.GetSettingsAsync("<YOUR_INDEX_NAME>");
// >LOG
{
"attributesForFaceting": [
"author",
"filterOnly(isbn)",
"searchable(edition)",
"afterDistinct(category)",
"afterDistinct(searchable(publisher))"
],
"replicas": [
"virtual(prod_products_price_asc)",
"dev_products_replica"
],
"paginationLimitedTo": 100,
"unretrievableAttributes": [
"total_sales"
],
"disableTypoToleranceOnWords": [
"wheel",
"1X2BCD"
],
"attributesToTransliterate": [
"name",
"description"
],
"camelCaseAttributes": [
"description"
],
"decompoundedAttributes": {
"de": [
"name"
]
},
"indexLanguages": [
"ja"
],
"disablePrefixOnAttributes": [
"sku"
],
"allowCompressionOfIntegerArray": false,
"numericAttributesForFiltering": [
"equalOnly(quantity)",
"popularity"
],
"separatorsToIndex": "+#",
"searchableAttributes": [
"title,alternative_title",
"author",
"unordered(text)",
"emails.personal"
],
"userData": {
"settingID": "f2a7b51e3503acc6a39b3784ffb84300",
"pluginVersion": "1.6.0"
},
"customNormalization": {
"default": {
"ä": "ae",
"ü": "ue"
}
},
"attributeForDistinct": "url",
"maxFacetHits": 10,
"attributesToRetrieve": [
"author",
"title",
"content"
],
"ranking": [
"typo",
"geo",
"words",
"filters",
"proximity",
"attribute",
"exact",
"custom"
],
"customRanking": [
"desc(popularity)",
"asc(price)"
],
"relevancyStrictness": 90,
"attributesToHighlight": [
"author",
"title",
"conten",
"content"
],
"attributesToSnippet": [
"content:80",
"description"
],
"highlightPreTag": "<em>",
"highlightPostTag": "</em>",
"snippetEllipsisText": "…",
"restrictHighlightAndSnippetArrays": false,
"hitsPerPage": 20,
"minWordSizefor1Typo": 4,
"minWordSizefor2Typos": 8,
"typoTolerance": true,
"allowTyposOnNumericTokens": true,
"disableTypoToleranceOnAttributes": [
"sku"
],
"ignorePlurals": [
"ca",
"es"
],
"removeStopWords": [
"ca",
"es"
],
"keepDiacriticsOnCharacters": "øé",
"queryLanguages": [
"es"
],
"decompoundQuery": true,
"enableRules": true,
"enablePersonalization": false,
"queryType": "prefixLast",
"removeWordsIfNoResults": "firstWords",
"mode": "keywordSearch",
"semanticSearch": {
"eventSources": [
"<string>"
]
},
"advancedSyntax": false,
"optionalWords": "<string>",
"disableExactOnAttributes": [
"description"
],
"exactOnSingleWordQuery": "attribute",
"alternativesAsExact": [
"ignorePlurals",
"singleWordSynonym"
],
"advancedSyntaxFeatures": [
"exactPhrase",
"excludeWords"
],
"distinct": 1,
"replaceSynonymsInHighlight": false,
"minProximity": 1,
"responseFields": [
"*"
],
"maxValuesPerFacet": 100,
"sortFacetValuesBy": "count",
"attributeCriteriaComputedByMinProximity": false,
"renderingContent": {
"facetOrdering": {
"facets": {
"order": [
"<string>"
]
},
"values": {}
},
"redirect": {
"url": "<string>"
},
"widgets": {
"banners": [
{
"image": {
"urls": [
{
"url": "<string>"
}
],
"title": "<string>"
},
"link": {
"url": "<string>"
}
}
]
}
},
"enableReRanking": true,
"reRankingApplyFilter": [
"<any>"
],
"primary": "<string>"
}
Your Algolia application ID.
Your Algolia API key with the necessary permissions to make the request. Permissions are controlled through access control lists (ACL) and access restrictions. The required ACL to make a request is listed in each endpoint's reference.
Name of the index on which to perform the operation.
"ALGOLIA_INDEX_NAME"
OK
Index settings.
Was this page helpful?